package com.bwie.auth.remote;

import com.bwie.common.domain.Admin;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("bwie-user")
public interface AuthRemote {
    @PostMapping("/login/findAdmin")
    public Result<Admin> findAdmin(@RequestBody Admin admin);
}
